package com.itheima.chapter01.circle;
/*
    珠穆朗玛峰
 */
public class demowhile {
    public static void main(String[] args) {
        int count=0;
        double h=0.1;
        double zf=8844430;
        while (h<=zf) {
            h*=2;
            count++;
            System.out.println("第"+count+"次的高度是：" + h);
        }
        System.out.println("折叠了"+count+"次");
    }
}
